#ifndef _Serializable_h_
#define _Serializable_h_

#include "Persistor/Persistent.h"

using namespace common;

namespace persist
{
//the mechanism that makes objects persistent so that
//their data members are stored in a one by one fashion is 
class Serializer;

//an object that can be made persistent in such a way that
//its data members are stored in a one by one fashion is
class Serializable : public Persistent
{
public:
	virtual void serialize(Serializer& serializer)=0;
};

} //namespace

#endif